package com.happly.happlycloud.pojo;

import lombok.*;

import java.io.Serializable;
import java.util.Date;


//添加get和set方法 @Data注解中包括了Getter和Setter还有hashcode还有toString还有equals方法
@Getter
@Setter
//无参构造器
@NoArgsConstructor
//全参构造器
@AllArgsConstructor
public class Cart implements Serializable {
    private Integer id;

    private Integer userId;

    private Integer productId;

    public Integer getTutorId() {
        return tutorId;
    }

    public void setTutorId(Integer tutorId) {
        this.tutorId = tutorId;
    }

    private Integer tutorId;

    private Integer quantity;

    private Integer checked;

    private Date createTime;

    private Date updateTime;
}